// 假设 @/axios 是相对路径的别名，尝试替换为实际的相对路径，需根据实际项目结构调整
import { get, post } from '@/axios/index.js'


// 文章列表
export const getArticleList = (data) => get('/system/article/list', data)


// 删除文章
export const deleteArticle = (id) => get('/system/article/delete/'+id)

//新增或修改
export const addOrUpdateArticle = (data) => post('/system/article/addOrUpdate', data)

export const getArticleDetail = (id) => get('/system/article/details/'+id)